package org.magnerfuller.imtoolkit.server.session.event;

import org.magnerfuller.imtoolkit.server.session.Session;

public class SessionEvent {
  private Session source;
  
  private int type;
  
  public static final int SESSION_TERMINATED_SUCCESS = 0;
  
  public SessionEvent(Session source, int type) {
    this.source = source;
    this.type = type;
  }
  
  public Session getSource() {
    return source;
  }
  
  public int getType() {
    return type;
  }
}
